import Vue from 'vue'
import App from './App.vue'
import router from './router';
import request from './common/request.js';
import { Tabbar, TabbarItem } from 'vant';
import { Search } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Image as VanImage,Lazyload}from'vant';

Vue.use(VanImage);
Vue.use(Lazyload);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Search);
Vue.use(Tabbar);
Vue.use(TabbarItem);

Vue.config.productionTip = false
Vue.prototype.$request = request.httpRequest
//4.在vue实力中挂载vue router实例
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
